package com.lening.iot.controller;

import com.lening.common.base.BaseController;
import com.lening.iot.dto.InconfigDTO;
import com.lening.iot.po.InconfigPO;
import com.lening.iot.service.InconfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.reactive.function.client.WebClient;

/**
 * @ToDo:
 * @Author：李忠达
 * @date: 2024/6/4 12:00
 */
@RestController
@RequestMapping("/inconfigs")
public class InconfigController extends BaseController<InconfigPO, InconfigDTO, InconfigService> {
    @Autowired(required = false)
    private WebClient webClient;

//    @Autowired
//    private IndataService indataService;
//    @GetMapping("/getAllInd")
//    public Page<InconfigDTO> getAllInd(Page<InconfigDTO> indataDTOPage, Integer pageNum, Integer pageSize){
//        Page<InconfigDTO> indList = indataService.getAllInd(indataDTOPage, pageNum, pageSize);
//        return indList;
//    }
}
